﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TPA.DataAccess
{
    public class BLLFactory
    {
        private static ProgramBLL _ProgramBLL;
        public static IProgramBLL ProgramBLL
        {
            get
            {
                if (_ProgramBLL == null)
                    _ProgramBLL = new ProgramBLL();

                return _ProgramBLL;
            }
        }

        private static SystemCodeBLL _SystemCodeBLL;
        public static ISystemCodeBLL SystemCodeBLL
        {
            get
            {
                if (_SystemCodeBLL == null)
                    _SystemCodeBLL = new SystemCodeBLL();

                return _SystemCodeBLL;
            }
        }

        private static TimeLineBLL _TimeLineBLL;
        public static ITimeLineBLL TimeLineBLL
        {
            get
            {
                if (_TimeLineBLL == null)
                    _TimeLineBLL = new TimeLineBLL();

                return _TimeLineBLL;
            }
        }

        private static ChannelBLL _ChannelBLL;
        public static IChannelBLL ChannelBLL
        {
            get
            {
                if (_ChannelBLL == null)
                    _ChannelBLL = new ChannelBLL();

                return _ChannelBLL;
            }
        }


    }
}
